package org.bot.server.client.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 沧月
 * @create 0020 2023/9/20 09:24
 * @description <客户端信息>
 */
@TableName("bot_client")
@Getter
@Setter
@NoArgsConstructor
public class BotClient implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;

    @TableField(value = "creation_date")
    private Date creationDate;

    private Integer status;

    @TableField(value = "client_id")
    private String clientId;

    private String secret;

    @TableField(value = "activate_code")
    private String activateCode;

    @TableField(value = "device_id")
    private String deviceId;

    @TableField(value = "activate_status")
    private Integer activateStatus;

    @TableField(value = "task_queue")
    private Integer taskQueue;

    @TableField(value = "task_active")
    private Integer taskActive;
}
